<template>
  <div class="fail fullheight">
    <div class="fail-in fs36 text-c">
      <p><img src="static/images/fail.png" alt=""></p>
      <p class="bold">支付失败</p>
      <p class="letter-space">请继续完成订单支付</p>
    </div>
    <div class="text-c">
      <button class="btn" @click="goOnPay()">继续支付</button>
    </div>
  </div>
</template>
<script>
  export default {
    name: 'fail',
    componets: {
    },
    data () {
      return {
        payId: '',
        masterId: ''
      }
    },
    mounted () {
    },
    methods: {
      goOnPay () {
        location.replace('/sr/order/#/pre-pay/' + this.$route.params.ids)
      }
    }
  }
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang='less'>
  @import '../../assets/less/border.less';
  .fail{
    background-color: #fff;
    .fail-in{
      margin:0 auto;
      padding-top: 2rem;
      img{
        width: 1.4rem;
      }
      p.bold{
        font-weight: bold;
        font-size: 0.4rem;
        line-height: 0.8rem;
      }
      p.letter-space{
        letter-spacing: 2px;
        line-height: 1rem;
      }
    }
    button{
      height: 0.88rem;
      line-height: 0.88rem;
      padding:0 1rem;
      border-radius: 0;
      font-size: 0.32rem;
      margin-top: 1rem;
    }
  }
</style>
